// 获取token
export const getToken = (): string | null => {
  return uni.getStorageSync('token') || null
}

// 设置token
export const setToken = (token: string): void => {
  uni.setStorageSync('token', token)
}

// 清除认证信息
export const clearAuth = (): void => {
  uni.removeStorageSync('token')
}






